
using Qdb.Ext;
using Qdb.IO;

namespace Qdb.IO
{
	/// <exclude></exclude>
	public class ReadOnlyBin : BinDecorator
	{
		public ReadOnlyBin(IBin storage) : base(storage)
		{
		}

		public override void Write(long position, byte[] bytes, int bytesToWrite)
		{
			throw new QdbIOException();
		}
	}
}
